* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    padding: 10px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 50%, #dcefff 100%);
    background-attachment: fixed;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 15px 8px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 1.4rem;
    color: #1a3a6d;
    margin-bottom: 5px;
    font-weight: 700;
}

.subtitle {
    font-size: 0.85rem;
    color: #4a6582;
}

.platform-section {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.05rem;
    color: #1a3a6d;
    padding: 4px 0;
    margin-bottom: 10px;
    border-bottom: 2px solid #0099dd;
    display: inline-block;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.platform-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 110px;
    cursor: pointer;
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 153, 221, 0.15);
}

.card-header {
    padding: 10px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(120deg, #0099dd, #0077aa);
    color: white;
    flex-shrink: 0;
}

.platform-icon {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.platform-info {
    flex-grow: 1;
}

.platform-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-type {
    font-size: 0.7rem;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.official-badge {
    background: #ffd700;
    color: #8e6e0f;
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 3px;
}

.card-body {
    padding: 0;
    flex-grow: 1;
    display: flex;
    align-items: stretch;
}

.visit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    color: #0099dd;
    text-decoration: none;
    padding: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    width: 100%;
    border-top: 1px solid #f0f5ff;
}

.platform-card:hover .visit-btn {
    background: #f0f7ff;
}

.visit-btn i {
    margin-left: 4px;
    font-size: 0.8rem;
}

footer {
    text-align: center;
    padding: 10px 0;
    margin-top: 15px;
    color: #4a6582;
    border-top: 1px solid rgba(0, 153, 221, 0.1);
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 10px;
}

/* 响应式调整 */
@media (max-width: 360px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-card {
        height: 100px;
    }
}
